#pragma once

#include "StructHeader.h"
#include "LClientSocket.h"

class LStreamSocket:LSocket
{
public:
	LStreamSocket(LClientSocket * connect);
	void Connect(LPSTR ip, INT port);
	void PutMsg(LPWSTR pstr,INT len = -1);
	void PutMsg(LPSTR str, INT len = -1);
	~LStreamSocket();

private:
	LClientSocket * ClientSocket;

};

